package rt.crashmere.rpc.provider;

/**
 * @author Lwh
 * @time 2023/01/26 19:15
 */
public interface UserProvider {
    /**
     * 根据ak查询sk
     */
    String getSecretKey(String accessKey);

    /**
     * 根据ak查询用户id
     */
    int getUserIdByAccessKey(String accessKey);
}
